package totask.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import totask.config.FeignOkhttpConfig;

import java.util.Map;

@FeignClient(value = "ToTaskMainApp", configuration = FeignOkhttpConfig.class)
public interface UserInfoClient {

    @PostMapping("/user/userLogin")
    Map<String, Object> userLogin(@RequestParam String userName, @RequestParam String passWord);

}
